import router from './router'

router.beforeEach((to, from,next) => {
  //console.log(to);
  let title = to.meta.title
  document.title = title

  next()
})